@App.factory 'TodoItem', ($resource) ->
  $resource("/todoitems/:id", (id: "@id"), {update: {method: 'PUT'}})
